//封装请求
import axios from './index'

//登录接口
export const loginAPI = (username,password) => axios({
    method:'POST',
    data:{
        username,
        password
    }
})

//获取列表
export const getListAPI = (currentPage) => axios({
    method:'GET',
    url:'/Parameters/get',
    params:{
        currentPage
    }
})